package com.example.agriculyural.Strategy;

import com.example.agriculyural.Observer.EnvironmentData;
import com.example.agriculyural.Strategy.PathPlanningStrategy;

public class AvoidWaterStrategy implements PathPlanningStrategy {
    @Override
    public void planPath(EnvironmentData data) {
        System.out.println("执行避水路径规划 - 绕过高湿度区域，土壤湿度: " + data.getSoilMoisture() + "%");
    }
}